package com.hp.bon.sgw.stdbss30.common;

import java.util.HashMap;
import java.util.Map;

public class BizResult {
	
    private String code;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    private Map<String, Object> infos = new HashMap<>();

    private String httpBody = null;

    public String getHttpBody() {
        return httpBody;
    }

    public void setHttpBody(String httpBody) {
        this.httpBody = httpBody;
    }

    public Object getInfo(String key) {
        return infos.get(key);
    }

    public void setInfo(String key, Object value) {
        infos.put(key, value);
    }

    public String getParamString(String key) {
        return String.valueOf(infos.get(key));
    }

}
